﻿<Window x:Class="CoTime.PomoTimer"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="PomoTimer" Height="70" Width="70"
        ResizeMode="NoResize"
        ShowInTaskbar="False"
        Topmost="True"
        WindowStyle="None"
        Opacity="0.6"
        Background="#00FFFFFF"
        AllowsTransparency="True" AllowDrop="True" IsManipulationEnabled="False" MouseUp="WindowMouseUp">
    <Grid x:Name="LayoutRoot" OpacityMask="{x:Null}" Height="70" Width="70" Background="Transparent">
<Image Source="Images/Tomato.png" Width="70" Height="70">
            <Image.OpacityMask>
                <DrawingBrush>
                    <DrawingBrush.Drawing>
                        <GeometryDrawing>
                            <GeometryDrawing.Brush>
                                <RadialGradientBrush x:Name="UIRadialGradientBrush">
                                    <RadialGradientBrush.GradientStops>
                                        <GradientStop Offset="1" Color="Black" />
                                        <GradientStop Offset="1" Color="Transparent" />
                                    </RadialGradientBrush.GradientStops>
                                </RadialGradientBrush>
                            </GeometryDrawing.Brush>
                            <GeometryDrawing.Geometry>
                                <RectangleGeometry Rect="0.05,0.05 3,3" />
                            </GeometryDrawing.Geometry>
                            <GeometryDrawing.Pen>
                                <Pen Thickness="0.1" Brush="Black" />
                            </GeometryDrawing.Pen>
                        </GeometryDrawing>
                    </DrawingBrush.Drawing>
                </DrawingBrush>
            </Image.OpacityMask>
        </Image>
        <Label Name="UILabelRemainingTime"
                   Background="Transparent"
                   Foreground="#FF118F4F"
                   Content="25"
                   FontSize="45" 
                   HorizontalContentAlignment="Center"
                   FontFamily="Century"
                   VerticalAlignment="Center"
                   HorizontalAlignment="Center"
                   MouseLeftButtonDown="UILabelRemainingTimeMouseLeftButtonDown" />
    </Grid>
</Window>
